#ifndef OBJC_CLASSES_PROTOCOL_H
#define OBJC_CLASSES_PROTOCOL_H

#import <sobjc.h>
#import <sobjc/classes/Object.h>

@interface Protocol : Object
{
@private
  char *name;
  ProtocolList protocols;
  MethodDescriptionList inst_meths, opt_inst_meths,
                        class_meths, opt_class_meths;
}


/* Obtaining attributes intrinsic to the protocol */

- (const char *)name;

/* Testing protocol conformance */

- (BOOL)conformsToProtocol:(Protocol *)aProtocol;

@end

#endif /* OBJC_CLASSES_PROTOCOL_H */

